package com.yx.fsysserver.common.result;

import java.io.Serializable;

/**
 * create by zml on 2017/9/27 10:00
 */
public class JsonDataResult<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    private long id;
    private long dataId;
    private boolean status;
    private String message;

    public JsonDataResult() {}

    public JsonDataResult(boolean status, String message, long id, long dataId) {
        this.status = status;
        this.message = message;
        this.id = id;
        this.dataId = dataId;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getDataId() {
        return dataId;
    }

    public void setDataId(long dataId) {
        this.dataId = dataId;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
